﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.Xml.Linq;

namespace VOL.Core.Utilities
{
    public class whole_cost_vo
    {
        /// <summary>
        ///整车成本构成id
        /// </summary>
        public Guid yjy_whole_cost_id { get; set; }

        /// <summary>
        ///公司类型
        /// </summary>
        public int? type { get; set; }

        /// <summary>
        ///车辆类型
        /// </summary>
        public int? car_type { get; set; }

        /// <summary>
        ///整车物料号
        /// </summary>
        public string materialnum { get; set; }

        /// <summary>
        ///整车车型型号
        /// </summary>
        public string materialnum_name { get; set; }

        /// <summary>
        ///模板层级对应唯一值
        /// </summary>
        public string unique_value { get; set; }

        /// <summary>
        ///层级关系描述
        /// </summary>
        public string hierarchy_describe { get; set; }

        /// <summary>
        ///描述
        /// </summary>
        public string describe { get; set; }

        /// <summary>
        ///一级物料号
        /// </summary>
        public string componentnum { get; set; }

        /// <summary>
        ///一级物料号名称
        /// </summary>
        public string componentnum_name { get; set; }

        /// <summary>
        ///金额
        /// </summary>
        public decimal? amount { get; set; }


        /// <summary>
        ///整车基本表id
        /// </summary>
        public Guid? yjy_whole_info_id { get; set; }
        /// <summary>
        /// 一级名称
        /// </summary>
        public string level_name_1 {get; set; }
        /// <summary>
        /// 二级名称
        /// </summary>
        public string level_name_2 { get; set; }
        /// <summary>
        /// 三级名称
        /// </summary>
        public string level_name_3 { get; set; }
        /// <summary>
        /// 四级名称
        /// </summary>
        public string level_name_4 { get; set; }
        /// <summary>
        /// 一级数字
        /// </summary>
        public int level_count_1 { get; set; }
        /// <summary>
        /// 二级数字
        /// </summary>
        public int level_count_2 { get; set;}
        /// <summary>
        /// 三级数字
        /// </summary>
        public int level_count_3 { get; set;}
        /// <summary>
        /// 四级数字
        /// </summary>
        public int level_count_4 { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int level_state_1 { get; set; }
        public int level_state_2 { get; set; }
        public int level_state_3 { get; set; }
        public int level_state_4 { get; set; }

    }
}
